
﻿<%-- 
    Document   : index
    Created on : 8 черв 2011, 13:30:34
    Author     : Olexy
--%>

<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>АРМ робітника приймальної комісії</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
</head>
   <SCRIPT language=Javascript>
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;
else
return true;
}
   </SCRIPT>
<body>
<div class="width=100% height=100% align-left"></div><div class="width=100% height=100% align-left"></div><div class="align-left"></div>
<div class="padding valign-image-left"></div><div class="padding  valign-image-right"></div><div class="padding valign-image-center"></div>
 
<div id="container">
  <div id="top">
    <h1>АРМ робітника приймальної комісії</h1>
    <table width=100% height=100%><tr ><td width=90%></td><td width=10%><a href="../../LogoutServlet">Вихід</a></td></tr></table>
  </div>

    <c:if test="${not empty param.error}">
        <div class="error">${param.error}</div>
    </c:if>

  <div id="content">
      <form action="UpdateOrAddSpecialityServlet" method="post">
	<table>
	<tr>
		<td>Назва:</td>
		<td><input type="text" name="name" value="${param.name}" /></td>
	</tr>
	<tr>
		<td>Код:</td>
		<td><input type="text" name="code" value="${param.code}" /></td>
	</tr>
	<tr>
		<td>Макс. к-ть студентів:</td>
		<td><input type="text" name="students" value="${param.students}" onkeypress="return isNumberKey(event)"/></td>
	</tr>
</table>
	<INPUT TYPE="button" VALUE="Baсk" onclick="document.location='index.jsp'">
            <input type="hidden" name="id" value="${param.id}"/>
            <input type="submit" value="Готово"/>
            <input type="reset" value="Заново" />
	</form>
   
  </div>
  <div id="footer">
    <p align=center> &copy; 2011 АРМ робітника приймальної комісії.
</p>
<div class="width=100% height=100% align-left"></div><div class="width=100% height=100% align-left"></div><div class="align-left" height="100"></div> <div class="align-left"></div> <div class="align-right"></div><div class="align-left"></div> <div class="align-left"></div> <div class="align-left"></div><div class="align-right"></div> <div class="align-left"></div><div class="align-right" alt="" height="100" width="1"></div> <div class="align-left" alt=""></div> <div class="align-center" height="76" width="100"></div><div class="align-left" alt="" height="67" width="1"></div> <div class="align-left" height="100" height="100" width="1"></div><div class="align-left" alt="" height="67" width="1"></div><div alt="" class="align-right"></div><div class="align-left"></div><div class="left"></div><div class="align-left" alt="" height="67" width="1"></div><div class="align-left"></div></div></div><div class="align-left"></div><div class="align-left"></div></body></html>